home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2005 October
/
PCWOCT05.iso
/
Software
/
FromTheMag
/
XAMPP 1.4.14
/
xampp-win32-1.4.14-installer.exe
/
xampp
/
php
/
pear
/
Translation
/
translationutf8.class.php
< prev
Wrap
PHP Script
|
2004-03-24
|
596b
|
28 lines
<?
/**
* File translationutf8.class.php
*
* @package Translation
*/
/**
* require base class
*/
require_once 'Translation'.DIRECTORY_SEPARATOR.'translation.class.php';
/**
* class that allows using Translation class with UTF-8 DB encoding
* @package Translation
*/
class TTranslationUTF8 extends Translation
{
function TTranslationUTF8($PageName, $LanguageID, $pear_DSN, $CustomTables = 0)
{
$this->Translation($PageName, $LanguageID, $pear_DSN, $CustomTables);
}
function gstr($StringName, $Params = array())
{
return utf8_decode(parent::gstr($StringName, $Params));
}
}
?>